import NavBar from '@/components/NavBar/index.vue'
import CustomList from '@/components/CustomList/index.vue'
import CustomSubmit from '@/components/CustomSubmit/index.vue'
import RecordList from '@/components/Record/index.vue'
 export default {
	 components: {
		NavBar,
		CustomList,
		CustomSubmit,
		RecordList
	 },
	 data() {
		return {
			lianList: [{
					name: 'ERC20',
					id: 0
				},
				{
					name: 'OMNI',
					id: 1
				},
			],
			lianCurrent: 0,
		} 
	 },
	 methods: {
		_back() {
			uni.navigateBack();
		},
		lianClick(item) {
			if (this.lianCurrent === item.id) return;
			this.lianCurrent = item.id;
			this.info.links = item.name;
		},
	 }
 }